package com.liu.bean;

import java.util.ArrayList;
import java.util.List;

public class XztkExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public XztkExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBklxIdIsNull() {
            addCriterion("bklx_id is null");
            return (Criteria) this;
        }

        public Criteria andBklxIdIsNotNull() {
            addCriterion("bklx_id is not null");
            return (Criteria) this;
        }

        public Criteria andBklxIdEqualTo(Integer value) {
            addCriterion("bklx_id =", value, "bklxId");
            return (Criteria) this;
        }

        public Criteria andBklxIdNotEqualTo(Integer value) {
            addCriterion("bklx_id <>", value, "bklxId");
            return (Criteria) this;
        }

        public Criteria andBklxIdGreaterThan(Integer value) {
            addCriterion("bklx_id >", value, "bklxId");
            return (Criteria) this;
        }

        public Criteria andBklxIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("bklx_id >=", value, "bklxId");
            return (Criteria) this;
        }

        public Criteria andBklxIdLessThan(Integer value) {
            addCriterion("bklx_id <", value, "bklxId");
            return (Criteria) this;
        }

        public Criteria andBklxIdLessThanOrEqualTo(Integer value) {
            addCriterion("bklx_id <=", value, "bklxId");
            return (Criteria) this;
        }

        public Criteria andBklxIdIn(List<Integer> values) {
            addCriterion("bklx_id in", values, "bklxId");
            return (Criteria) this;
        }

        public Criteria andBklxIdNotIn(List<Integer> values) {
            addCriterion("bklx_id not in", values, "bklxId");
            return (Criteria) this;
        }

        public Criteria andBklxIdBetween(Integer value1, Integer value2) {
            addCriterion("bklx_id between", value1, value2, "bklxId");
            return (Criteria) this;
        }

        public Criteria andBklxIdNotBetween(Integer value1, Integer value2) {
            addCriterion("bklx_id not between", value1, value2, "bklxId");
            return (Criteria) this;
        }

        public Criteria andBkjbIdIsNull() {
            addCriterion("bkjb_id is null");
            return (Criteria) this;
        }

        public Criteria andBkjbIdIsNotNull() {
            addCriterion("bkjb_id is not null");
            return (Criteria) this;
        }

        public Criteria andBkjbIdEqualTo(Integer value) {
            addCriterion("bkjb_id =", value, "bkjbId");
            return (Criteria) this;
        }

        public Criteria andBkjbIdNotEqualTo(Integer value) {
            addCriterion("bkjb_id <>", value, "bkjbId");
            return (Criteria) this;
        }

        public Criteria andBkjbIdGreaterThan(Integer value) {
            addCriterion("bkjb_id >", value, "bkjbId");
            return (Criteria) this;
        }

        public Criteria andBkjbIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("bkjb_id >=", value, "bkjbId");
            return (Criteria) this;
        }

        public Criteria andBkjbIdLessThan(Integer value) {
            addCriterion("bkjb_id <", value, "bkjbId");
            return (Criteria) this;
        }

        public Criteria andBkjbIdLessThanOrEqualTo(Integer value) {
            addCriterion("bkjb_id <=", value, "bkjbId");
            return (Criteria) this;
        }

        public Criteria andBkjbIdIn(List<Integer> values) {
            addCriterion("bkjb_id in", values, "bkjbId");
            return (Criteria) this;
        }

        public Criteria andBkjbIdNotIn(List<Integer> values) {
            addCriterion("bkjb_id not in", values, "bkjbId");
            return (Criteria) this;
        }

        public Criteria andBkjbIdBetween(Integer value1, Integer value2) {
            addCriterion("bkjb_id between", value1, value2, "bkjbId");
            return (Criteria) this;
        }

        public Criteria andBkjbIdNotBetween(Integer value1, Integer value2) {
            addCriterion("bkjb_id not between", value1, value2, "bkjbId");
            return (Criteria) this;
        }

        public Criteria andKslxIdIsNull() {
            addCriterion("kslx_id is null");
            return (Criteria) this;
        }

        public Criteria andKslxIdIsNotNull() {
            addCriterion("kslx_id is not null");
            return (Criteria) this;
        }

        public Criteria andKslxIdEqualTo(Integer value) {
            addCriterion("kslx_id =", value, "kslxId");
            return (Criteria) this;
        }

        public Criteria andKslxIdNotEqualTo(Integer value) {
            addCriterion("kslx_id <>", value, "kslxId");
            return (Criteria) this;
        }

        public Criteria andKslxIdGreaterThan(Integer value) {
            addCriterion("kslx_id >", value, "kslxId");
            return (Criteria) this;
        }

        public Criteria andKslxIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("kslx_id >=", value, "kslxId");
            return (Criteria) this;
        }

        public Criteria andKslxIdLessThan(Integer value) {
            addCriterion("kslx_id <", value, "kslxId");
            return (Criteria) this;
        }

        public Criteria andKslxIdLessThanOrEqualTo(Integer value) {
            addCriterion("kslx_id <=", value, "kslxId");
            return (Criteria) this;
        }

        public Criteria andKslxIdIn(List<Integer> values) {
            addCriterion("kslx_id in", values, "kslxId");
            return (Criteria) this;
        }

        public Criteria andKslxIdNotIn(List<Integer> values) {
            addCriterion("kslx_id not in", values, "kslxId");
            return (Criteria) this;
        }

        public Criteria andKslxIdBetween(Integer value1, Integer value2) {
            addCriterion("kslx_id between", value1, value2, "kslxId");
            return (Criteria) this;
        }

        public Criteria andKslxIdNotBetween(Integer value1, Integer value2) {
            addCriterion("kslx_id not between", value1, value2, "kslxId");
            return (Criteria) this;
        }

        public Criteria andKstxIdIsNull() {
            addCriterion("kstx_id is null");
            return (Criteria) this;
        }

        public Criteria andKstxIdIsNotNull() {
            addCriterion("kstx_id is not null");
            return (Criteria) this;
        }

        public Criteria andKstxIdEqualTo(Integer value) {
            addCriterion("kstx_id =", value, "kstxId");
            return (Criteria) this;
        }

        public Criteria andKstxIdNotEqualTo(Integer value) {
            addCriterion("kstx_id <>", value, "kstxId");
            return (Criteria) this;
        }

        public Criteria andKstxIdGreaterThan(Integer value) {
            addCriterion("kstx_id >", value, "kstxId");
            return (Criteria) this;
        }

        public Criteria andKstxIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("kstx_id >=", value, "kstxId");
            return (Criteria) this;
        }

        public Criteria andKstxIdLessThan(Integer value) {
            addCriterion("kstx_id <", value, "kstxId");
            return (Criteria) this;
        }

        public Criteria andKstxIdLessThanOrEqualTo(Integer value) {
            addCriterion("kstx_id <=", value, "kstxId");
            return (Criteria) this;
        }

        public Criteria andKstxIdIn(List<Integer> values) {
            addCriterion("kstx_id in", values, "kstxId");
            return (Criteria) this;
        }

        public Criteria andKstxIdNotIn(List<Integer> values) {
            addCriterion("kstx_id not in", values, "kstxId");
            return (Criteria) this;
        }

        public Criteria andKstxIdBetween(Integer value1, Integer value2) {
            addCriterion("kstx_id between", value1, value2, "kstxId");
            return (Criteria) this;
        }

        public Criteria andKstxIdNotBetween(Integer value1, Integer value2) {
            addCriterion("kstx_id not between", value1, value2, "kstxId");
            return (Criteria) this;
        }

        public Criteria andSaIsNull() {
            addCriterion("sa is null");
            return (Criteria) this;
        }

        public Criteria andSaIsNotNull() {
            addCriterion("sa is not null");
            return (Criteria) this;
        }

        public Criteria andSaEqualTo(String value) {
            addCriterion("sa =", value, "sa");
            return (Criteria) this;
        }

        public Criteria andSaNotEqualTo(String value) {
            addCriterion("sa <>", value, "sa");
            return (Criteria) this;
        }

        public Criteria andSaGreaterThan(String value) {
            addCriterion("sa >", value, "sa");
            return (Criteria) this;
        }

        public Criteria andSaGreaterThanOrEqualTo(String value) {
            addCriterion("sa >=", value, "sa");
            return (Criteria) this;
        }

        public Criteria andSaLessThan(String value) {
            addCriterion("sa <", value, "sa");
            return (Criteria) this;
        }

        public Criteria andSaLessThanOrEqualTo(String value) {
            addCriterion("sa <=", value, "sa");
            return (Criteria) this;
        }

        public Criteria andSaLike(String value) {
            addCriterion("sa like", value, "sa");
            return (Criteria) this;
        }

        public Criteria andSaNotLike(String value) {
            addCriterion("sa not like", value, "sa");
            return (Criteria) this;
        }

        public Criteria andSaIn(List<String> values) {
            addCriterion("sa in", values, "sa");
            return (Criteria) this;
        }

        public Criteria andSaNotIn(List<String> values) {
            addCriterion("sa not in", values, "sa");
            return (Criteria) this;
        }

        public Criteria andSaBetween(String value1, String value2) {
            addCriterion("sa between", value1, value2, "sa");
            return (Criteria) this;
        }

        public Criteria andSaNotBetween(String value1, String value2) {
            addCriterion("sa not between", value1, value2, "sa");
            return (Criteria) this;
        }

        public Criteria andSbIsNull() {
            addCriterion("sb is null");
            return (Criteria) this;
        }

        public Criteria andSbIsNotNull() {
            addCriterion("sb is not null");
            return (Criteria) this;
        }

        public Criteria andSbEqualTo(String value) {
            addCriterion("sb =", value, "sb");
            return (Criteria) this;
        }

        public Criteria andSbNotEqualTo(String value) {
            addCriterion("sb <>", value, "sb");
            return (Criteria) this;
        }

        public Criteria andSbGreaterThan(String value) {
            addCriterion("sb >", value, "sb");
            return (Criteria) this;
        }

        public Criteria andSbGreaterThanOrEqualTo(String value) {
            addCriterion("sb >=", value, "sb");
            return (Criteria) this;
        }

        public Criteria andSbLessThan(String value) {
            addCriterion("sb <", value, "sb");
            return (Criteria) this;
        }

        public Criteria andSbLessThanOrEqualTo(String value) {
            addCriterion("sb <=", value, "sb");
            return (Criteria) this;
        }

        public Criteria andSbLike(String value) {
            addCriterion("sb like", value, "sb");
            return (Criteria) this;
        }

        public Criteria andSbNotLike(String value) {
            addCriterion("sb not like", value, "sb");
            return (Criteria) this;
        }

        public Criteria andSbIn(List<String> values) {
            addCriterion("sb in", values, "sb");
            return (Criteria) this;
        }

        public Criteria andSbNotIn(List<String> values) {
            addCriterion("sb not in", values, "sb");
            return (Criteria) this;
        }

        public Criteria andSbBetween(String value1, String value2) {
            addCriterion("sb between", value1, value2, "sb");
            return (Criteria) this;
        }

        public Criteria andSbNotBetween(String value1, String value2) {
            addCriterion("sb not between", value1, value2, "sb");
            return (Criteria) this;
        }

        public Criteria andScIsNull() {
            addCriterion("sc is null");
            return (Criteria) this;
        }

        public Criteria andScIsNotNull() {
            addCriterion("sc is not null");
            return (Criteria) this;
        }

        public Criteria andScEqualTo(String value) {
            addCriterion("sc =", value, "sc");
            return (Criteria) this;
        }

        public Criteria andScNotEqualTo(String value) {
            addCriterion("sc <>", value, "sc");
            return (Criteria) this;
        }

        public Criteria andScGreaterThan(String value) {
            addCriterion("sc >", value, "sc");
            return (Criteria) this;
        }

        public Criteria andScGreaterThanOrEqualTo(String value) {
            addCriterion("sc >=", value, "sc");
            return (Criteria) this;
        }

        public Criteria andScLessThan(String value) {
            addCriterion("sc <", value, "sc");
            return (Criteria) this;
        }

        public Criteria andScLessThanOrEqualTo(String value) {
            addCriterion("sc <=", value, "sc");
            return (Criteria) this;
        }

        public Criteria andScLike(String value) {
            addCriterion("sc like", value, "sc");
            return (Criteria) this;
        }

        public Criteria andScNotLike(String value) {
            addCriterion("sc not like", value, "sc");
            return (Criteria) this;
        }

        public Criteria andScIn(List<String> values) {
            addCriterion("sc in", values, "sc");
            return (Criteria) this;
        }

        public Criteria andScNotIn(List<String> values) {
            addCriterion("sc not in", values, "sc");
            return (Criteria) this;
        }

        public Criteria andScBetween(String value1, String value2) {
            addCriterion("sc between", value1, value2, "sc");
            return (Criteria) this;
        }

        public Criteria andScNotBetween(String value1, String value2) {
            addCriterion("sc not between", value1, value2, "sc");
            return (Criteria) this;
        }

        public Criteria andSdIsNull() {
            addCriterion("sd is null");
            return (Criteria) this;
        }

        public Criteria andSdIsNotNull() {
            addCriterion("sd is not null");
            return (Criteria) this;
        }

        public Criteria andSdEqualTo(String value) {
            addCriterion("sd =", value, "sd");
            return (Criteria) this;
        }

        public Criteria andSdNotEqualTo(String value) {
            addCriterion("sd <>", value, "sd");
            return (Criteria) this;
        }

        public Criteria andSdGreaterThan(String value) {
            addCriterion("sd >", value, "sd");
            return (Criteria) this;
        }

        public Criteria andSdGreaterThanOrEqualTo(String value) {
            addCriterion("sd >=", value, "sd");
            return (Criteria) this;
        }

        public Criteria andSdLessThan(String value) {
            addCriterion("sd <", value, "sd");
            return (Criteria) this;
        }

        public Criteria andSdLessThanOrEqualTo(String value) {
            addCriterion("sd <=", value, "sd");
            return (Criteria) this;
        }

        public Criteria andSdLike(String value) {
            addCriterion("sd like", value, "sd");
            return (Criteria) this;
        }

        public Criteria andSdNotLike(String value) {
            addCriterion("sd not like", value, "sd");
            return (Criteria) this;
        }

        public Criteria andSdIn(List<String> values) {
            addCriterion("sd in", values, "sd");
            return (Criteria) this;
        }

        public Criteria andSdNotIn(List<String> values) {
            addCriterion("sd not in", values, "sd");
            return (Criteria) this;
        }

        public Criteria andSdBetween(String value1, String value2) {
            addCriterion("sd between", value1, value2, "sd");
            return (Criteria) this;
        }

        public Criteria andSdNotBetween(String value1, String value2) {
            addCriterion("sd not between", value1, value2, "sd");
            return (Criteria) this;
        }

        public Criteria andSeIsNull() {
            addCriterion("se is null");
            return (Criteria) this;
        }

        public Criteria andSeIsNotNull() {
            addCriterion("se is not null");
            return (Criteria) this;
        }

        public Criteria andSeEqualTo(String value) {
            addCriterion("se =", value, "se");
            return (Criteria) this;
        }

        public Criteria andSeNotEqualTo(String value) {
            addCriterion("se <>", value, "se");
            return (Criteria) this;
        }

        public Criteria andSeGreaterThan(String value) {
            addCriterion("se >", value, "se");
            return (Criteria) this;
        }

        public Criteria andSeGreaterThanOrEqualTo(String value) {
            addCriterion("se >=", value, "se");
            return (Criteria) this;
        }

        public Criteria andSeLessThan(String value) {
            addCriterion("se <", value, "se");
            return (Criteria) this;
        }

        public Criteria andSeLessThanOrEqualTo(String value) {
            addCriterion("se <=", value, "se");
            return (Criteria) this;
        }

        public Criteria andSeLike(String value) {
            addCriterion("se like", value, "se");
            return (Criteria) this;
        }

        public Criteria andSeNotLike(String value) {
            addCriterion("se not like", value, "se");
            return (Criteria) this;
        }

        public Criteria andSeIn(List<String> values) {
            addCriterion("se in", values, "se");
            return (Criteria) this;
        }

        public Criteria andSeNotIn(List<String> values) {
            addCriterion("se not in", values, "se");
            return (Criteria) this;
        }

        public Criteria andSeBetween(String value1, String value2) {
            addCriterion("se between", value1, value2, "se");
            return (Criteria) this;
        }

        public Criteria andSeNotBetween(String value1, String value2) {
            addCriterion("se not between", value1, value2, "se");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}